<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>User Login</title>
    <link rel="stylesheet" type="text/css" href="<s:url value='/CSS/user/login.css'/>"/>
  </head>
  <body>
    <div class="container">
      <s:include value="/WEB-INF/JSP/head.jsp"/>
      <div class="login">
        <s:form action="userAction_login" namespace="/user" method="post">
          <fieldset>
            <legend>User Login</legend>
            <s:fielderror cssClass="error"></s:fielderror>
            <div class="group">
              <div class="label">
                <label for="userName">User Name:</label>
              </div>
              <div class="field">
                <s:textfield cssClass="text" id="userName" name="userName"></s:textfield>
              </div>
            </div>
            <div class="group">
              <div class="label">
                <label for="password">Password:</label>
              </div>
              <div class="field">
                <s:password cssClass="password" id="password" name="password"></s:password>
              </div>
            </div>
            <s:submit cssClass="submit" value="Submit"></s:submit>
            <s:reset cssClass="reset" value="Reset"></s:reset>
            <input type="button" value="Back" onclick="javascript:history.back(-1);"/>
          </fieldset>
        </s:form>
      </div>
    </div>
  </body>
</html>